<?php
/**
*
* @package footprintdiary
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
* Minimum Requirement: PHP 4.3.3
*/
class constants {

  // Facebook specific configuration variables
  public static $app_name = 'Ecological Footprint Diary';
  public static $app_id = '65201421367';
  public static $api_key = 'df6c9879241d44ebd91fb399a735500a';
  public static $secret = '8d8787ef4d88b6e9e1fe5f376aa7d107';

  // Application specific configuration variables
  public static $db_ip = 'emilybrand.name:localhost';
  public static $db_user = 'emily36_siteman';
  public static $db_pass = 'emilyb88';
  public static $db_name = 'emily36_footprintdiary';

  // Total Visits Needed to Plant a Tree
  public static $totVisits = '30';

  public static function isAdmin($user){
    if($user == '20012829') return true;
    else return false;
  }
}
$constants = new constants();
?>
